<template>
    <div class="content">
        <H5CustomContent :id="id" title="移动端自定义常用配置链接编辑" />
    </div>
</template>
  
<script setup lang="ts">
import { ref, watch } from 'vue'
import { useRoute } from 'vue-router'
import H5CustomContent from './H5CustomContent.vue'

const route = useRoute()
const id = ref()
watch(
    () => route,
    () => {
        if (route.path == '/OA/Office/H5CustomUpdate') {
            id.value = route.query?.id
        }
    },
    { deep: true, immediate: true }
)
</script>
  